GoXam for WPF v3
HandleLinkPropertyChanged Method
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : HandleLinkPropertyChanged Method
preferably a ModelChangedEventArgs that describes what changed and how
This is the System.ComponentModel.INotifyPropertyChanged event handler for link data.
Syntax
protected virtual void HandleLinkPropertyChanged( 
   object sender,
   PropertyChangedEventArgs e
)

Parameters

sender
e
preferably a ModelChangedEventArgs that describes what changed and how
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the e argument is a ModelChangedEventArgs, this first calls OnChanged in order to raise a Changed event to notify this model's consumers.

If the System.ComponentModel.PropertyChangedEventArgs.PropertyName is the same as the LinkFromPath, LinkToPath, LinkFromParameterPath, LinkToParameterPath, this automatically calls DoLinkPortsChanged. If the property name is LinkLabelNodePath, this automatically calls DoLinkLabelChanged.

See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members